home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
batchlrn.arc
/
SORT.HLP
< prev
next >
Wrap
Text File
|
1991-06-17
|
1KB
|
22 lines
|---------------B A T C H L R N H E L P S Y S T E M-----------------|
|command:SORT (with options) |
|use:SORT puts lines from a specified file into a particular order. |
|how:Type: "SORT < file.ext" = Sorted file will be displayed on scrn. |
| "SORT /R <file.ext"=REVERSE sorted file to screen. |
| "SORT+n < file.ext"=Sort by character in col.n(number).* |
| "SORT < file.ext > sortedfile.ext=Sorts file.ext,then puts |
| data in sortedfile.ext. |
| "SORT < file.ext >> sortedfile.ext=Sorts file.ext, then |
| APPENDS sorted data to EXISTING sortedfile.ext. |
| "SORT < CON > file.ext=Sorts as you type data on keyboard, |
| then places sorted data into file.ext. |
| "SORT /R+n < file.ext"=Sort in reverse by col.n.* |
| ANY OF THE ABOVE COMMANDS CAN BE INSERTED IN A BATCH FILE |
| |
| N-O-T-E:Since SORT is a filter it gets its data via redirection < .|
| *column n=1-80 [look at the ASCII text, count from the left].Sort |
| is by ASCII preference [#$%&'()*+0 1-9 :;<=>?@ A-Z [\]^ a-z{|},etc]|
| Tips:DIR|SORT > PRN [prints DIR] & DIR|SORT > DIRECT.LST [stores |
| in a file of your choice]. |
|---------------T I M E M A S T E R------------------|